package geodata;

/**
 * @author Sean Freitag
 * Properites for a building
 */
@SuppressWarnings("serial")
public class BuildingData extends GeoData {
	
//	/**
//	 * Cooling block load
//	 */
//	private double coolingBlockLoad;
//	
//	/**
//	 * Heating block load
//	 */
//	private double heatingBlockLoad;
//	
//	/**
//	 * Net Average Heat Transfer
//	 */
//	private double netAverageHeatTransfer;
//	
//	/**
//	 * Heat pump inlet temperature
//	 */
//	private double heatPumpInlet;
//	
//	/**
//	 * Heat pump outlet temperature
//	 */
//	private double heatPumpOutlet;
//	
//	/**
//	 * Cooling power input
//	 */
//	private double powerInputCooling;
//	
//	/**
//	 * Heating power input
//	 */
//	private double powerInputHeating;
	
	/**
	 * True if metric units are use, false for standard units
	 */
	@SuppressWarnings("unused")
	private boolean isMetric;
	
	/**
	 * Instantiates a default BuildingData
	 */
	public BuildingData(){
		this(false);
	}
	
	/**
	 * Instantiates a new BuildingData
	 * @param isMetric
	 * True if metric units
	 */
	public BuildingData(boolean isMetric){
		
		this.addField(new Field<Double>(0.0d, "Cooling Block Load", "cbl", null));
		this.addField(new Field<Double>(0.0d, "Heating Block Load", "hbl", null));
		this.addField(new Field<Double>(0.0d, "Net Average Heat Transfer", "naht", null));
		this.addField(new Field<Double>(0.0d, "Heat Pump Inlet", "hpi", null));
		this.addField(new Field<Double>(0.0d, "Heat Pump Outlet", "hpo", null));
		this.addField(new Field<Double>(0.0d, "Power Input Cooling", "pic", null));
		this.addField(new Field<Double>(0.0d, "Power Input Heating", "pih", null));
		
//		coolingBlockLoad = 0;
//		heatingBlockLoad = 0;
//		netAverageHeatTransfer = 0;
//		heatPumpInlet = 0;
//		heatPumpOutlet = 0;
//		powerInputCooling = 0;
//		powerInputHeating = 0;
		this.isMetric = isMetric;
	}

//	/**
//	 * @return
//	 * Cooling block load
//	 */
//	public double getCoolingBlockLoad() {
//		return coolingBlockLoad;
//	}
//
//	/**
//	 * @param coolingBlockLoad
//	 * Set cooling block load
//	 */
//	public void setCoolingBlockLoad(double coolingBlockLoad) {
//		this.coolingBlockLoad = coolingBlockLoad;
//	}
//
//	/**
//	 * @return
//	 * Heating block load
//	 */
//	public double getHeatingBlockLoad() {
//		return heatingBlockLoad;
//	}
//
//	/**
//	 * @param heatingBlockLoad
//	 * Set heating block load
//	 */
//	public void setHeatingBlockLoad(double heatingBlockLoad) {
//		this.heatingBlockLoad = heatingBlockLoad;
//	}
//
//	/**
//	 * @return
//	 * Net average heat transfer
//	 */
//	public double getNetAverageHeatTransfer() {
//		return netAverageHeatTransfer;
//	}
//
//	/**
//	 * @param netAverageHeatTransfer
//	 * Set net average heat transfer
//	 */
//	public void setNetAverageHeatTransfer(double netAverageHeatTransfer) {
//		this.netAverageHeatTransfer = netAverageHeatTransfer;
//	}
//
//	/**
//	 * @return
//	 * Heat pump inlet temperature
//	 */
//	public double getHeatPumpInlet() {
//		return heatPumpInlet;
//	}
//
//	/**
//	 * @param heatPumpInlet
//	 * Set heat pump inlet temperature
//	 */
//	public void setHeatPumpInlet(double heatPumpInlet) {
//		this.heatPumpInlet = heatPumpInlet;
//	}
//
//	/**
//	 * @return
//	 * Heat pump outlet temperature
//	 */
//	public double getHeatPumpOutlet() {
//		return heatPumpOutlet;
//	}
//
//	/**
//	 * @param heatPumpOutlet
//	 * Set heat pump outlet temperature
//	 */
//	public void setHeatPumpOutlet(double heatPumpOutlet) {
//		this.heatPumpOutlet = heatPumpOutlet;
//	}
//
//	/**
//	 * @return
//	 * Cooling power input
//	 */
//	public double getPowerInputCooling() {
//		return powerInputCooling;
//	}
//
//	/**
//	 * @param powerInputCooling
//	 * Set cooling power input
//	 */
//	public void setPowerInputCooling(double powerInputCooling) {
//		this.powerInputCooling = powerInputCooling;
//	}
//
//	/**
//	 * @return
//	 * Power input for heating
//	 */
//	public double getPowerInputHeating() {
//		return powerInputHeating;
//	}
//
//	/**
//	 * @param powerInputHeating
//	 * Set heating power input
//	 */
//	public void setPowerInputHeating(double powerInputHeating) {
//		this.powerInputHeating = powerInputHeating;
//	}

	/**
	 * @see geodata.GeoData#setMetric()
	 */
	public void setMetric() {
		isMetric = true;
	}

	/**
	 * @see geodata.GeoData#setStandard()
	 */
	public void setStandard() {
		isMetric = false;
	}
	
}
